class student{
    public String name;
    public int age;
    public String gender;
    public void eat() {
        System.out.println(name + "正在干饭");
    }
    public void Set(String name,int age,String gender){
        this.age=age;
        this.name=name;
        this.gender=gender;
    }
}
public class j2023623 {
    //要在函数里实例化类
    public static void main(String[] args) {
        /*student a=new student();
        a.Set("小明",12,"男");
        System.out.println(a);*/
        System.out.println("haha");
    }
}
